FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD oasys-1.0-SNAPSHOT.jar oasys-app.jar
ENTRYPOINT ["java","-jar","/oasys-app.jar"]

# docker run -it -d --name oasys01 -p 9001:9001 oasys-image:1.0
# docker run -d --name oasys01 -p 9001:9001 oasys-image:1.0